package com.tju.IDao;


import com.tju.Model.Role;

import java.util.List;

public interface RoleDao {

    List<Role> selectRolesByUserId(int userId);

    int deleteByPrimaryKey(Integer id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

}